class Animal():
    def run(self):
        print('animal is runing')
    
# 类的继承
# 估计跟java一样,类都继承自object
# 多态
# 和TS一样是鸭子类型
class Dog(Animal):
    pass

d1 = Dog()
d1.run()